<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="father">
    <h1>标题1</h1>
    <p id="p1"></p>
    <p class="p2"></p>
</div>


<script src="js/dom操作.js"></script>

</body>
</html>